package com.txts.road.admin.stageSys.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.txts.road.admin.common.annotation.Excel;
import com.txts.road.admin.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 赛段排名对象 stage_rankings
 *
 * @author ruoyi
 * @date 2025-05-16
 */
public class StageRankings extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private String id;

    /** 赛段名称 */
    @Excel(name = "赛段名称")
    private String stageName;

    /** 赛车 */
    @Excel(name = "赛车")
    private String saiche;

    /** 赛车手 */
    @Excel(name = "赛车手")
    private String racerName;

    /** 排名 */
    @Excel(name = "排名")
    private String ranking;

    /** 积分 */
    @Excel(name = "积分")
    private String points;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date wanchengshijian;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }

    public void setStageName(String stageName)
    {
        this.stageName = stageName;
    }

    public String getStageName()
    {
        return stageName;
    }

    public void setSaiche(String saiche)
    {
        this.saiche = saiche;
    }

    public String getSaiche()
    {
        return saiche;
    }

    public void setRacerName(String racerName)
    {
        this.racerName = racerName;
    }

    public String getRacerName()
    {
        return racerName;
    }

    public void setRanking(String ranking)
    {
        this.ranking = ranking;
    }

    public String getRanking()
    {
        return ranking;
    }

    public void setPoints(String points)
    {
        this.points = points;
    }

    public String getPoints()
    {
        return points;
    }

    public void setWanchengshijian(Date wanchengshijian)
    {
        this.wanchengshijian = wanchengshijian;
    }

    public Date getWanchengshijian()
    {
        return wanchengshijian;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("stageName", getStageName())
                .append("saiche", getSaiche())
                .append("racerName", getRacerName())
                .append("ranking", getRanking())
                .append("points", getPoints())
                .append("wanchengshijian", getWanchengshijian())
                .toString();
    }
}
